<?php
/**
 * AjaxAds module for Joomla 1.0.x
 * Version:	1.0 (July 2007)
 *
 * Author:	Martin Masci
 * Site:	www.joomlaboratory.com
 * Mail:	info@joomlaboratory.com
 *
 * Copyright Joomlaboratory 2007
 */

// Don't allow direct access to the file
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// Check ArtBannerPlus
if (!file_exists($mosConfig_absolute_path."/components/com_artbannersplus/artbannersplus.php")) {
	$content = "Component ArtBanners not installed.";
  return;
}

require_once($mosConfig_absolute_path.'/modules/passingbanner/passingbanner_inc.php');

// read the params
$params = & new mosParameters($module->params);

echo showPassbanner( $params );

?>